import Vue from 'vue';
import App from '@/App.vue';
import '@/assets/css/main.css';
import '@/assets/css/normalize.css'

// 已配置自动导入
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import { createPinia, PiniaVuePlugin } from 'pinia';
import router from '@/router';
import storage from "@/js/storage.js";

import  api from '@/api/index.js'

Vue.use(ElementUI);
Vue.use(PiniaVuePlugin);
const pinia = createPinia();


Vue.prototype.$api = api;
Vue.prototype.$storage = storage;


Vue.config.productionTip = false;

new Vue({
    router,
    pinia,
    render: h => h(App),
}).$mount('#app');
